package android.app.betmein.activity;

import model.Bet;
import viewmodel.DisplayBetViewModel;
import android.app.betmein.R;
import android.app.betmein.view.DisplayBetView;
import android.framework.paging.BaseViewInitializer;
import android.framework.reflaction.annotation.FillOnInit;
import android.os.Bundle;

public class DisplayBetActivity extends SingleMasterPageActivity {

	@FillOnInit
    private Bet bet;
	
	@Override
	public void init(Bundle savedInstanceState) {
		parentActivity = null;
	}

	@Override
	protected BaseViewInitializer innerGetView() {
		DisplayBetViewModel vm = new DisplayBetViewModel(this, bet);
		DisplayBetView view = new DisplayBetView(vm, this, R.layout.activity_bet);
		vm.setView(view);
		
		return view;
	}
}
